  @import (reference) "./../../shared/color";
  @import (reference) "./../../shared/common";
@color-light-gray: #999;
.block-list-container {
  padding: 5px 0;
  .block-zone {
    // flex-grow: 1;
    // height: 100%;
    overflow-y: auto;
    background-color: white;
    min-width: 180px;
  }
  .quote-zone {
    flex-grow: 5;
    // height: 100%;
    margin-left: 10px;
    .flex-container {
      .display-flex;
      height: 100%;
      position: relative;
    }
    .quote-table-main {
      height: 100%; //减去表头
      .quote-table-cell {
        cursor: pointer;
      }
    }
    .quote-table-head {
      // .display-flex;
      // position: absolute;
      .flex;
      height: 100%;
      left: 0;
      top:0;
    }
  }
}

.block-table-main {
  .block-table-row {
    white-space: nowrap;
    display: flex;
    margin-right: 10px;
    align-items: center;
    cursor: pointer;
    border: 1px solid #FFF;
    .arrow {
      display: none;
      position: absolute;
      top: 10px;
      right: -5px;
      width: 0;
      height: 0;
      border: 5px solid transparent;
      border-right-width: 0;
      border-left-color: #09F;
      margin-right: -1px;
    }
    .arrow:after {
      content: "";
      display: block;
      position: absolute;
      top: -5px;
      right: 1px;
      width: 0;
      height: 0;
      border: 5px solid transparent;
      border-right-width: 0;
      border-left-color: #FFF;
    }
    &.active,
    &:hover {
      border: 1px solid #09F;
      position: relative;
      .arrow {
        display: inline-block;
      }
    }
    .block-table-cell {
      width: 1px;
      flex-grow: 1;
      flex-shrink: 1;
      justify-content: space-between;
      align-items: center;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 0 0 1px 1px;
      background: white;
      color: @list-text-black;
      padding: 0 10px;
      height: 30px;
      line-height: 30px;
      font-size: 1.4rem;
      .quote-symbol {
        color: @color-light-gray
      }
      &:last-child {
        flex-grow: 1.2;
      }
      &.append-module {
        overflow: visible;
        position: relative;
      }
      &.text-go-up {
        color: @color-red-light;
      }
      &.text-go-down {
        color: @color-green-normal;
      }
      &.text-percent {
        &::after {
          content: "%"
        }
      }
    }
  }
}